Skip to content

DM-38772: Use pybind11 v3 holder classes#11

Merged
mwittgen merged 1 commit into
mainfrom
tickets/DM-38772
Aug 7, 2025
Merged

DM-38772: Use pybind11 v3 holder classes#11
mwittgen merged 1 commit into
mainfrom
tickets/DM-38772

Conversation

@mwittgen

@mwittgen mwittgen commented Aug 6, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@mwittgen mwittgen requested a review from TallJimbo August 6, 2025 20:18
Comment thread include/lsst/cpputils/python.h Outdated
lsst::afw::table records are considered equal if two `std::shared_ptr<record>` point to the same record.
This is wrapped as follows for `lsst::afw::table::BaseRecord`, where `cls` is an instance of
`pybind11::class_<BaseRecord, std::shared_ptr<BaseRecord>>)`:
`pybind11::class_<BaseRecord>)`:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`pybind11::class_<BaseRecord>)`:
`pybind11::classh<BaseRecord>)`:

?

@mwittgen mwittgen merged commit 87389fa into main Aug 7, 2025
5 checks passed
@mwittgen mwittgen deleted the tickets/DM-38772 branch August 7, 2025 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants